package com.sxt.practiceapplication.entity.baseentity;

import org.jetbrains.annotations.NotNull;

public class Data<T> {

    private int count;

    private T results;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public T getResults() {
        return results;
    }

    public void setResults(T results) {
        this.results = results;
    }

    @NotNull
    @Override
    public String toString() {
        return "Data{" +
                "count=" + count +
                ", result=" + results +
                '}';
    }
}